--------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\Scott\Documents\1805 Roadmaps\Table A5 any info.log
  log type:  text
 opened on:   6 Jun 2018, 14:53:39

. 
. set seed Xecab35358f70ae9e27e06ec89758e9d6000445f7

. 
. 
. probit vote_leemar ///
>      con_lo con_lo_D1 ///
>      all_info_lo all_info_lo_D1 ///
>      con_hi con_hi_D1 ///
>      all_info_hi all_info_hi_D1 ///
>      , noconstant

Iteration 0:   log likelihood = -238.44263  
Iteration 1:   log likelihood = -199.84047  
Iteration 2:   log likelihood = -199.10892  
Iteration 3:   log likelihood = -199.09149  
Iteration 4:   log likelihood = -199.09149  

Probit regression                                 Number of obs   =        344
                                                  Wald chi2(8)    =      61.27
Log likelihood = -199.09149                       Prob > chi2     =     0.0000

--------------------------------------------------------------------------------
   vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
---------------+----------------------------------------------------------------
        con_lo |  -.0449316   .2561388    -0.18   0.861    -.5469544    .4570913
     con_lo_D1 |  -.1175553   .3454084    -0.34   0.734    -.7945433    .5594326
   all_info_lo |  -.4136629   .1391253    -2.97   0.003    -.6863436   -.1409822
all_info_lo_D1 |   .7947469   .1732616     4.59   0.000     .4551604    1.134334
        con_hi |  -1.395795   .5115814    -2.73   0.006    -2.398476   -.3931141
     con_hi_D1 |   1.285986   .5383003     2.39   0.017     .2309369    2.341035
   all_info_hi |  -.8752001   .1617015    -5.41   0.000    -1.192129   -.5582709
all_info_hi_D1 |   .8626626   .1702457     5.07   0.000     .5289871    1.196338
--------------------------------------------------------------------------------

. 
. tabstat d1 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
          d1 |       344   .482125  .7398629    -1.848     .0415      .486     1.026     1.978
----------------------------------------------------------------------------------------------

. 
. 
. estsimp probit vote_leemar ///
>      con_lo con_lo_D1 ///
>      all_info_lo all_info_lo_D1 ///
>      con_hi con_hi_D1 ///
>      all_info_hi all_info_hi_D1 ///
>      , noconstant

Iteration 0:   log likelihood = -238.44263
Iteration 1:   log likelihood = -200.79428
Iteration 2:   log likelihood = -199.16975
Iteration 3:   log likelihood = -199.09246
Iteration 4:   log likelihood = -199.09149
Iteration 5:   log likelihood = -199.09149

Probit regression                                 Number of obs   =        344
                                                  LR chi2(8)      =          .
Log likelihood = -199.09149                       Prob > chi2     =          .

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      con_lo |  -.0449316   .2561388    -0.18   0.861    -.5469544    .4570913
   con_lo_D1 |  -.1175553   .3454084    -0.34   0.734    -.7945433    .5594326
 all_info_lo |  -.4136629   .1391253    -2.97   0.003    -.6863436   -.1409822
all_info_l~1 |   .7947469   .1732616     4.59   0.000     .4551604    1.134334
      con_hi |  -1.395795   .5115814    -2.73   0.006    -2.398476   -.3931141
   con_hi_D1 |   1.285986   .5383003     2.39   0.017     .2309369    2.341035
 all_info_hi |  -.8752001   .1617015    -5.41   0.000    -1.192129   -.5582709
all_info_h~1 |   .8626627   .1702457     5.07   0.000     .5289871    1.196338
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....
% of simulations completed: 12% 25% 37% 50% 62% 75% 87% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8

. 
. 
. * Low-knowledge
. 
. setx median

. setx con_lo 1

. setx con_lo_D1 .486

. setx all_info_lo 0

. setx all_info_lo_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         0       median  
all_info_hi_D1 |         0       median  
   all_info_lo |         0         0     
all_info_lo_D1 |         0         0     
        con_hi |         0       median  
     con_hi_D1 |         0       median  
        con_lo |         1         1     
     con_lo_D1 |      .486        .486   
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5408969     .0934309     .3651364    .7242129
            Pr(vote_l~r=1) |   .4591031     .0934309     .2757871    .6348636

. 
. simqi, fd(prval(1) genpr(fd_con)) changex(con_lo_D1 .0415 1.026)

First Difference: con_lo_D1 .0415 1.026

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0353398     .1306054    -.2708195     .227168

Simqi generated the following new variable(s): fd_con

. 
. 
. setx con_lo_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         0       median  
all_info_hi_D1 |         0       median  
   all_info_lo |         0         0     
all_info_lo_D1 |         0         0     
        con_hi |         0       median  
     con_hi_D1 |         0       median  
        con_lo |         1         1     
     con_lo_D1 |         0         0     
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5225694     .0973423     .3240497    .7146731
            Pr(vote_l~r=1) |   .4774306     .0973423     .2853269    .6759503

. 
. simqi, fd(prval(1) genpr(tr_all_info_con)) changex(con_lo 1 0 all_info_lo 0 1)

First Difference: con_lo 1 0 all_info_lo 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   -.135825      .109947    -.3564868    .0867164

Simqi generated the following new variable(s): tr_all_info_con

. 
. 
. setx median

. setx con_lo 0

. setx con_lo_D1 0

. setx all_info_lo 1

. setx all_info_lo_D1 .486

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         0       median  
all_info_hi_D1 |         0       median  
   all_info_lo |         1         1     
all_info_lo_D1 |      .486        .486   
        con_hi |         0       median  
     con_hi_D1 |         0       median  
        con_lo |         0         0     
     con_lo_D1 |         0         0     
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5118589     .0433433     .4247161    .5961091
            Pr(vote_l~r=1) |   .4881411     .0433433      .403891    .5752839

. 
. simqi, fd(prval(1) genpr(fd_all_info)) changex(all_info_lo_D1 .0415 1.026)

First Difference: all_info_lo_D1 .0415 1.026

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .2986119     .0656204     .1679884    .4241114

Simqi generated the following new variable(s): fd_all_info

. 
. 
. setx all_info_lo_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         0       median  
all_info_hi_D1 |         0       median  
   all_info_lo |         1         1     
all_info_lo_D1 |         0         0     
        con_hi |         0       median  
     con_hi_D1 |         0       median  
        con_lo |         0         0     
     con_lo_D1 |         0         0     
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6583944     .0521073     .5477507     .759756
            Pr(vote_l~r=1) |   .3416056     .0521073     .2402439    .4522493

. 
. 
. * Difference in baseline probabilities
. 
. tabstat tr_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
tr_all_inf~n |  -.135825   .109947 -.4412217 -.3270454 -.2746522 -.1368381  .0043989  .0446529  .2582098
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. gen dif_all_info_con = fd_all_info - fd_con

. 
. tabstat dif_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_all_in~n |  .3339517  .1443381 -.1005607  .0760894  .1459492  .3389867  .5188286  .5639396  .7271572
--------------------------------------------------------------------------------------------------------

. 
. 
. * High-knowledge
. 
. setx median

. setx con_hi 1

. setx con_hi_D1 .486

. setx all_info_lo 0

. setx all_info_lo_D1 0

. setx all_info_hi 0

. setx all_info_hi_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         0         0     
all_info_hi_D1 |         0         0     
   all_info_lo |         0         0     
all_info_lo_D1 |         0         0     
        con_hi |         1         1     
     con_hi_D1 |      .486        .486   
        con_lo |         0       median  
     con_lo_D1 |         0       median  
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7698221      .094448     .5642277    .9146039
            Pr(vote_l~r=1) |   .2301779      .094448     .0853961    .4357723

. 
. simqi, fd(prval(1) genpr(fd_con_hi)) changex(con_hi_D1 .0415 1.026)

First Difference: con_hi_D1 .0415 1.026

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .3523832     .1306244     .0813608    .5892035

Simqi generated the following new variable(s): fd_con_hi

. 
. 
. setx con_hi_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         0         0     
all_info_hi_D1 |         0         0     
   all_info_lo |         0         0     
all_info_lo_D1 |         0         0     
        con_hi |         1         1     
     con_hi_D1 |         0         0     
        con_lo |         0       median  
     con_lo_D1 |         0       median  
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .8924355     .0900275     .6521123    .9917383
            Pr(vote_l~r=1) |   .1075645     .0900275     .0082617    .3478877

. 
. simqi, fd(prval(1) genpr(tr_all_info_con_hi)) changex(con_hi 1 0 all_info_hi 0 1)

First Difference: con_hi 1 0 all_info_hi 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .0867012     .1020888    -.1630087     .239722

Simqi generated the following new variable(s): tr_all_info_con_hi

. 
. 
. setx median

. setx con_hi 0

. setx con_hi_D1 0

. setx all_info_lo 0

. setx all_info_lo_D1 0

. setx all_info_hi 1

. setx all_info_hi_D1 .486

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         1         1     
all_info_hi_D1 |      .486        .486   
   all_info_lo |         0         0     
all_info_lo_D1 |         0         0     
        con_hi |         0         0     
     con_hi_D1 |         0         0     
        con_lo |         0       median  
     con_lo_D1 |         0       median  
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6745809     .0442549     .5905018    .7547209
            Pr(vote_l~r=1) |   .3254191     .0442549     .2452791    .4094982

. 
. simqi, fd(prval(1) genpr(fd_all_info_hi)) changex(all_info_hi_D1 .0415 1.026)

First Difference: all_info_hi_D1 .0415 1.026

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .2995104     .0522238     .1894308    .3978649

Simqi generated the following new variable(s): fd_all_info_hi

. 
. 
. setx all_info_hi_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

-----------------------------------------
      Variable |    Value     Description
---------------+-------------------------
   all_info_hi |         1         1     
all_info_hi_D1 |         0         0     
   all_info_lo |         0         0     
all_info_lo_D1 |         0         0     
        con_hi |         0         0     
     con_hi_D1 |         0         0     
        con_lo |         0       median  
     con_lo_D1 |         0       median  
-----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .8057343     .0453768     .7112428    .8856101
            Pr(vote_l~r=1) |   .1942657     .0453768     .1143899    .2887572

. 
. 
. * Difference in baseline probabilities
. 
. tabstat tr_all_info_con_hi, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
tr_all_inf~i |  .0867012  .1020888 -.3920639 -.1153397 -.0561771  .1025061  .1998379  .2216473  .3029367
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. gen dif_all_info_con_hi = fd_all_info_hi - fd_con_hi

. 
. tabstat dif_all_info_con_hi, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_all_in~i | -.0528728   .141334 -.4396335 -.2726146 -.2301307 -.0569905  .1304916  .1779469  .4115643
--------------------------------------------------------------------------------------------------------

. 
. 
. * Low-knowledge high-knowledge differences
. 
. * Calculate difference in first differences
. 
. gen tr_all_info_con_lo_hi = tr_all_info_con - tr_all_info_con_hi

. 
. tabstat tr_all_info_con_lo_hi, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
tr_all_~o_hi | -.2225263  .1480789 -.6693733 -.4627416 -.4144971  -.227278 -.0394499  .0247976  .3496728
--------------------------------------------------------------------------------------------------------

. 
. 
. gen dif_con_lo_hi = fd_con - fd_con_hi

. gen dif_all_info_lo_hi = fd_all_info - fd_all_info_hi

. 
. tabstat dif_con_lo_hi, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_con_lo~i |  -.387723  .1854617 -.8757936   -.69267 -.6265113 -.3874785 -.1566376 -.0799552   .356995
--------------------------------------------------------------------------------------------------------

. tabstat dif_all_info_lo_hi, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_all~o_hi | -.0008985  .0831008 -.2873518 -.1376328 -.1060247 -.0010684  .1105602  .1394848  .2639552
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in difference in first differences
. 
. gen dif_effect = dif_all_info_con - dif_all_info_con_hi

. 
. tabstat dif_effect, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  dif_effect |  .3868245  .2045609 -.3749444  .0444085  .1332623  .3921589   .651868  .7317563  .9376906
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b8

. drop fd_con-dif_all_info_lo_hi

. 
. log close
      name:  <unnamed>
       log:  C:\Users\Scott\Documents\1805 Roadmaps\Table A5 any info.log
  log type:  text
 closed on:   6 Jun 2018, 14:53:40
--------------------------------------------------------------------------------------------------------------------------
